package io_demo.teshu_io_demo;

import java.io.IOException;
import java.io.PrintWriter;
/**
 * @author ChenYongHao
 * @date 2023/4/28 10:50
 * @desc PrintWriter 字符打印流
 */


public class Char_println_Demo {
    public static void main(String[] args) throws IOException {
        PrintWriter pw = new PrintWriter("E:\\cyhKyGit\\Java_Study\\Java_File_IO\\src\\main\\java\\io_demo\\demo.txt");

        pw.println("hello");
        pw.write("Hello");

        pw.close();
    }
}
